//
//  BDJFriendTrendsViewController.m
//  BuDeJie
//
//  Created by Guo Rui on 2017/9/19.
//  Copyright © 2017年 GR Harry. All rights reserved.
//

#import "BDJFriendTrendsViewController.h"
#import "UIBarButtonItem+item.h"

@interface BDJFriendTrendsViewController ()

@end

@implementation BDJFriendTrendsViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    [self setupNavBar];
    
    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(tabBarDidRepeatClick) name:BDJTabBarButtonDidRepeatClickNotification object:nil];
    
}

- (void)dealloc {
    [[NSNotificationCenter defaultCenter] removeObserver:self];
    NSLog(@"\n************\n %@ dealloc \n************", self.class);
}

- (void)tabBarDidRepeatClick
{
    
    if (!self.view.window) return;
    
    BDJFUNC

}

- (void)setupNavBar
{
    self.navigationItem.leftBarButtonItem = [UIBarButtonItem itemWithImage:[UIImage imageNamed:@"friendsRecommentIcon"] highlightImage:[UIImage imageNamed:@"friendsRecommentIcon-click"] target:self action:@selector(friendsRecomment)];
    self.navigationItem.title = @"关注";
}

- (void)friendsRecomment
{
    BDJLog(@"%s", __func__);
}

@end
